package com.party.core.service.commune;


import com.party.core.model.commune.CMemberInfo;
import com.party.core.model.member.Member;
import com.party.core.service.IBaseService;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @program: party
 * @description: 积分项服务接口
 * @author: Hua Qunhao
 * @create: 2019-08-12 14:22
 **/
public interface ICMemberInfoService extends IBaseService<CMemberInfo> {

    /**
     * @Author hzq
     * @Description //修改行知公社 用户信息
     * @Date 11:02 2019/8/13
     * @param memberInfo
     * @return
     **/
    boolean updateMemberInfo(Member member, CMemberInfo memberInfo);

    /**
    * @Author hzq
    * @Description //根据用户id 差行知公社信息
    * @Date 15:09 2019/8/13
    * @param memberId
    * @return
    **/
    CMemberInfo getByMemberId(String memberId);


    List<CMemberInfo> queryEffectiveCMembers(Map<String,Object> params);
}